<%--

  Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the latest version of the GNU Lesser General
  Public License as published by the Free Software Foundation;

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this program (LICENSE.txt); if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

--%>
<%@ page errorPage="/WEB-INF/jsp/error.jsp"
    contentType="text/html; charset=utf-8"
%>

<%@ include file="page-init.jsp" %>

<%@ page import="org.jamwiki.model.*,org.jamwiki.utils.*" %>
<%String type = request.getParameter("type");  %>
 
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
           <td width="0" class="word-orange" align="center"><%@ include file="navigation-menu.jsp" %></td>   
           </tr>  
      </table>
       <table width="98%" height="8" border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td><%@ include file="top-menu.jsp" %></td>
       </tr>
     </table>
     <table width="98%" border="0"><tr><td>
     <c:if test="${!empty results}">
	<div class="message"><f:message key="linkto.overview"><f:param value="${link}" /></f:message></div>
	<ul>
	<c:forEach items="${results}" var="result">
	<li><jamwiki:link value="${result.topic}" text="${result.simpleTile}" /></li>
	</c:forEach>
	</ul>
	</c:if>
	
	<c:if test="${empty results}">
	<div class="message"><f:message key="linkto.none"><f:param value="${link}" /></f:message></div>
	</c:if>
		
	 </td></tr></table>
